//
//  HeaderView.h
//  dhfsAPP
//
//  Created by Devil on 2017/7/31.
//  Copyright © 2017年 Devil. All rights reserved.
//
#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height

#define RGB(x,y,z) [UIColor colorWithRed:x / 255.0 green:y / 255.0 blue: z / 255.0 alpha:1.0]
#define WIDTH(x) (x / 750.0) * SCREEN_WIDTH
#define HEIGHT(y) (y / 1334.0) * SCREEN_HEIGHT

#import <UIKit/UIKit.h>

@protocol HeaderViewDelegate <NSObject>

-(void)clickHeaderViewBtn;

@end

@interface HeaderView : UIView

@property(weak,nonatomic)id<HeaderViewDelegate>headerViewDelegate;

@property(strong,nonatomic)UIButton *backButton;

@property(strong,nonatomic)UILabel *title;

-(instancetype)initWithFrame:(CGRect)frame Title:(NSString *)title;

@end
